package tr.edu.metu.is.mega.common.dto;

import java.util.Date;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotNull;

/**
 * Data transfer object for submission revision entity.
 */
public class SubmissionRevisionDTO extends BaseDTO {

    private static final long serialVersionUID = 4109601953170826560L;

    public static final String FIELD_FILEPATH = "filePath";

    public static final String FIELD_SUBMISSIONDATE = "submissionDate";

    public static final String FIELD_SUBMITTEDBY = "submittedby";

    @NotNull
    private String filePath;

    @NotNull
    private Date submissionDate;

    @NotNull
    @Max(50)
    private String submittedby;

    @NotNull
    private Integer activityid;

    @NotNull
    private Integer teamid;

    /**
     * Default constructor.
     */
    public SubmissionRevisionDTO() {
    }

    /**
     * Returns filePath.
     * 
     * @return the filePath
     */
    public String getFilePath() {
        return filePath;
    }

    /**
     * Sets filePath value.
     * 
     * @param filePath the filePath to set
     */
    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    /**
     * Returns submissionDate.
     * 
     * @return the submissionDate
     */
    public Date getSubmissionDate() {
        return submissionDate;
    }

    /**
     * Sets submissionDate value.
     * 
     * @param submissionDate the submissionDate to set
     */
    public void setSubmissionDate(Date submissionDate) {
        this.submissionDate = submissionDate;
    }

    /**
     * Returns submittedby.
     * 
     * @return the submittedby
     */
    public String getSubmittedby() {
        return submittedby;
    }

    /**
     * Sets submittedby value.
     * 
     * @param submittedby the submittedby to set
     */
    public void setSubmittedby(String submittedby) {
        this.submittedby = submittedby;
    }

    /**
     * Returns activityid.
     * 
     * @return the activityid
     */
    public Integer getActivityid() {
        return activityid;
    }

    /**
     * Sets activityid value.
     * 
     * @param activityid the activityid to set
     */
    public void setActivityid(Integer activityid) {
        this.activityid = activityid;
    }

    /**
     * Returns teamid.
     * 
     * @return the teamid
     */
    public Integer getTeamid() {
        return teamid;
    }

    /**
     * Sets teamid value.
     * 
     * @param teamid the teamid to set
     */
    public void setTeamid(Integer teamid) {
        this.teamid = teamid;
    }

}
